package oop多态作业;

public class InkpetPrinter extends Printer {
    public InkpetPrinter(String name, double pirce) {
        super(name, pirce);
        this.name=name;
        this.pirce=pirce;

    }

    public InkpetPrinter() {
    }
    public  void  print(){
        System.out.println(this.name+"价格为："+this.pirce+"我有以下功能");
        System.out.println(" “喷墨打印机按工作原理可分为固体喷墨和液体喷墨两" +
                "种(现在又以后者更为常见),而液体" +
                "喷墨方式又可分为气泡式与液体压电式。气泡技术" +
                "是通过加热喷嘴,使墨水产生气泡,喷到打印介质上" +
                "的。喷墨打印机的优点:1、喷墨打印机碳素墨水渗" +
                "浸与纸浆内,字迹保持时间更长; ”");
    }
}
